#define  _CRT_SECURE_NO_WARNINGS
#include<vector>
#include<iostream>
using namespace std;

void vector_test01()
{
	vector<int> v1;
	v1.push_back(1);
	v1.push_back(2);
	v1.push_back(3);
	v1.push_back(4);
	vector<int>v2(v1);
	for (size_t i = 0; i < v1.size(); i++)
		cout << v1[i] << " ";
	cout << endl;
	for (size_t i = 0; i < v2.size(); i++)
		cout << v2[i] << " ";
	cout << endl;

}
int main()
{
	vector_test01();

	return 0;
}